//
//  UserInfoModel.h
//  芥子帝国
//
//  Created by 刘星辰 on 2018/3/15.
//  Copyright © 2018年 JZDG. All rights reserved.
/*
    用户信息model
 */

#import <Foundation/Foundation.h>

#define UserInfo [UserInfoModel shareInstance]


@interface UserInfoModel : NSObject

/**
 用户信息储存

 @return 用户信息代理类
 */
+ (instancetype)shareInstance;

/**
 userToken
 */
@property (nonatomic,copy)NSString *userToken;

/**
    用户ID
 */
@property (nonatomic,copy)NSString *userId;
/**
 默认用户名
 */
@property (nonatomic,copy)NSString *nickname;
/**
    用户手机号
 */
@property (nonatomic,copy)NSString *mobile;

/**
 暂时未知
 */
@property (nonatomic,copy)NSString *expireTime;

/**
 用户头像
 */
@property (nonatomic,copy)NSString *avatar_url;

/**
 用户头像
 */
@property (nonatomic,copy)NSString *user_type;

/**
 家庭住址
 */
@property (nonatomic,copy)NSString *address;

/**
  //实名认证  1 未认证  2已认证   3已拒绝  4待审核
 */
@property (nonatomic,assign)NSInteger user_status;

/**
 客服电话
 */
@property (nonatomic,copy)NSString *serverTel;

/**
 性别
 */
@property (nonatomic,copy)NSString *gender;

/**
 生日
 */
@property (nonatomic,copy) NSString *birthday;

/**
 红包
 */
@property (nonatomic,copy)NSString *redpack_num;

/**
  优惠券
 */
@property (nonatomic,copy)NSString *coupon_num;

/**
 余额
 */
@property (nonatomic,copy) NSString *wallet_balance;

//测试方法忽略
- (void)test;

- (void)clearAllUserInfo;

- (BOOL)isLoginState;

@end
